#include<bits/stdc++.h>
#define IOS ios::sync_with_stdio(0),cin.tie(0),cout.tie(0)
using namespace std;
const int N = 1e6;
int va[N],t,n,vb[N],vc[N],l[N],h[N];

void check()
{
    int sum = 0;
    for(int i = 1;i <= n;i++)
    {
        int a = 0,b = 0;
        for(int j = 1;j <= i;j++)
        {
            if(vb[j] == 1)
            {
                l = max(l,j);
                a = 1;
            }
            if(vb[j] == 0)
            {
                h = max(h,j);
                b = 1;
            }

        }
        if(a == 0 || b == 0)    vc[i] = 0;
        else if()
    }
}

void dfs(int now)
{
    if(now > n)
    {
        check();
        return;
    }
    vb[now] = 0;
    dfs(now+1);
    vb[now] = 1;
    dfs(now+1);
}

int main()
{
    freopen("color.in","r",stdin);
    freopen("color.out","w",stdout);
    IOS;
    cin>>t;
    while(t--)
    {
        cin>>n;
        for(int i = 1;i <= n;i++)
        {
            cin>>va[i];
        }
        dfs(1);
    }
    return 0;
}
